I have the error when i use list with function using MAP function